home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / tools / netzwerk / tcp-ip / usno / usno_time.readme < prev   
Encoding:
Text File  |  1996-02-26  |  2.9 KB  |  90 lines

  1.             US Naval Observatory Time Utilites for AmigaDOS
  2.             -----------------------------------------------
  3.  
  4. DESCRIPTION
  5. -----------
  6.     This is an Amiga port of routines from the US Naval Observatory.
  7.  
  8.     UTILITIY  FUNCTION                        POST ADDRESS
  9.     --------  ------------------------------- ---------------------------
  10.     timec     check time from remote service; "time"    on port    37/tcp
  11.     time_chk  check time from remote service; "timesrv" on port 22375/tcp
  12.     time_set  set   time from remote service; "timesrv" on port 22375/tcp
  13.     timesrvd  serve time to   remote client ; "timesrv" on port 22375/tcp
  14.  
  15.  
  16. REQUIREMENTS
  17. ------------
  18.     These routines were compiled and tested on an A3000 with AmigaDOS
  19. V2.1 and AmiTCP V4.2 (commercial).  The source is provided and should
  20. be easily adapted for AS225.
  21.  
  22. INSTALLATION
  23. ------------
  24.   1 Copy the utilities in usno/bin to AmiTCP:bin.
  25.   2 Copy the daemon in usno/serv to AmiTCP:serv, if you wish to serve time.
  26.   3 Add the following line to AmiTCP:db/services:
  27.  
  28.     timesrv         22375/tcp                       ; time server process
  29.  
  30. EXAMPLES
  31. --------
  32.     Set local time to USNO time using "timesrv" & port 22375/tcp:
  33.  
  34.   > time_set tick.usno.navy.mil  ; sets local time to USNO time
  35.  
  36.  
  37.     Check local time with USNO time using "timesrv" & port 22375/tcp:
  38.  
  39.   > time_chk tick.usno.navy.mil
  40.     Local Time.....: Sat Nov 04 00:36:42 1995 at aww.com
  41.     Remote Time....: Sat Nov 04 00:36:42 1995 at tick.usno.navy.mil
  42.     Local - Server.: 0 secs
  43.  
  44.  
  45.     Check local time with USNO time using "time" & port 37/tcp:
  46.  
  47.   > time_chk tick.usno.navy.mil  ; checks local time with USNO time
  48.     Local Time.....: Sat Nov 04 00:38:41 1995 at aww.com
  49.     Remote Time....: Sat Nov 04 00:38:42 1995 at tick.usno.navy.mil
  50.     Local - Server.: -1 secs
  51.  
  52. BUGS
  53. ----
  54.     I had to _reset_ my GMT offset in the Locale Preference.  If you
  55. receive funny times try changing highligt on Locale's map back and
  56. forth.
  57.  
  58. DEVELOPERS
  59. ----------
  60.     The makefiles and source for these utilities is included.  They
  61. were compiled with SAS/C V6.55.  The makefiles assume the AmiTCP
  62. development files are organized as follows:
  63.  
  64.     AmiTCP:
  65.     |
  66.     ---> AmiTCP:dev
  67.          |
  68.          ---> AmiTCP:dev/include
  69.          |
  70.          ---> AmiTCP:dev/lib
  71.          |
  72.          ---> AmiTCP:dev/src
  73.              |
  74.              ---> AmiTCP:dev/src/usno
  75.  
  76.     Note: I've moved the default location of AmiTCP:include,
  77. AmiTCP:lib and AmiTCP:src to AmiTCP:dev as a personal preference.
  78.  
  79.     These files were obtained from ftp://tycho.usno.navy.mil.
  80.  
  81.     Mia culpa, I changed the names a bit and restructured the code to
  82. suit my tastes.
  83.  
  84. ------------------------------------------------------------------------
  85. Altofirma Web Works                                Richard P. O'Sullivan
  86. http://www.aww.com/                                      rosully@aww.com
  87. ------------------------------------------------------------------------
  88.  
  89. Tick-Tock :-)
  90.